	<include file="Public/admin/header.html" title="添加商品" keywords="" />	
	<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main">			
		<div class="row">
			<ol class="breadcrumb">
				<li><a href="__URL__/index.html"><span class="glyphicon glyphicon-home"></span></a></li>
				<li class="active">添加商品</li>
			</ol>
		</div><!--/.row-->
	
	<div class="row">
			<div class="col-lg-12">
				<br><br>
			</div>
		</div><!--/.row-->

<div class="row">
			<div class="col-lg-12">
			<div class="panel panel-primary">
					<div class="panel-heading"><span class="glyphicon glyphicon-plus"></span>添加
					</div>
					<div class="panel-body">
<form class="form-horizontal" action="__URL__/add/" method="post">
							<fieldset>
							<!-- Name input-->
								<div class="form-group">
									<label class="col-md-3 control-label" >商品名</label>
									<div class="col-md-6 has-success">
									<input  name="name" type="text" class="form-control" placeholder="宝贝名称">
									</div>
								</div>
								<!-- Name input-->
								<div class="form-group">
									<label class="col-md-3 control-label" >宝贝描述</label>
									<div class="col-md-6  has-error">
									<textarea  name="comment" class="form-control" rows="10" placeholder="输入宝贝详情..."></textarea>
									</div>
								</div>
								
									<div class="form-group">
										   <label class="col-md-3 control-label">宝贝类型</label>
                         <div class="col-md-9">
                          <input  name="type" type="radio" value="1"><label>视频</label> 
                           <input  name="type" type="radio" value="2"><label>资料</label> 
                            <input  name="type" type="radio"  value="3" checked><label>教程</label>
                            <input  name="type" type="radio" value="4"><label>有趣</label>
                            <input  name="type" type="radio" value="5"><label>答案</label>  
                            &nbsp;&nbsp;  	&nbsp;&nbsp;  
                            	
                          </div>		
								</div>			
								
								
								<!-- Name input-->
								<div class="form-group">
									<label class="col-md-3 control-label" for="email">初始密码</label>
									<div class="col-md-6  has-error">
										<input name="pass" type="text" class="form-control" placeholder="************" >
									</div>
								</div>	
								
									<div class="form-group">
									<label class="col-md-3 control-label" >下载地址</label>
									<div class="col-md-6  has-error">
									<textarea  name="down" class="form-control" rows="3" placeholder="输入下载地址..."></textarea>
									</div>
								</div>
								

								<!-- Form actions -->
								<div class="form-group">
									<div class="col-md-6">
										<button type="submit" class="btn btn-primary btn-lg pull-right ">提交</button>
									</div>
								</div>
							</fieldset>
						</form>

   
	     	</div>	
	     	</div>	
	     	
			</div><!--/.col-->	
		</div><!--/.row-->	
		
		
		<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"  aria-labelledby="myModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-body">     
         </div>
      </div><!-- /.modal-content -->
   </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script>
   $(function () { $('#myModal').modal({
      keyboard: true
   })});
</script>	

								
</div>	<!--/.main-->
	  
<style>
	.panel-heading{
     height:45px;
     padding: 0px 0px 0px 10px;
}

	</style>	

<script src="__PUBLIC__/js/jquery-1.11.1.min.js"></script>
	<script src="__PUBLIC__/js/bootstrap.min.js"></script>
	<script type="text/javascript">	$(document).ready(function() {  $("#add").addClass("active").show(); }	);</script>
</body>

</html>
